package com.ethink.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ethink.system.api.request.SystemRoleAddRequest;
import com.ethink.system.api.request.SystemRoleMenuAddRequest;
import com.ethink.system.api.request.SystemRoleMenuUpdateRequest;
import com.ethink.system.common.entity.SystemRoleMenu;

/**
 * 系统角色菜单关联表 Service接口
 *
 * @author default
 * @date 2022-09-27
 */
public interface SystemRoleMenuService extends IService<SystemRoleMenu> {

    /**
     * 批量添加
     * @param request
     */
    void saveBatch(SystemRoleMenuAddRequest request);

    void updateBatch(SystemRoleMenuUpdateRequest systemRoleMenuUpdateRequest);

    void deleteByRoleId(Long roleId);


    /**
     * 批量删除
     */
    //void delBatch();
}